GetPalette

Obtains the palette information from the imaG palette and places it into an array.

Syntax: imaG.GetPalette (palette())
palette() (long array) The array to put the imaG's current palette into. Each element of the array will contain one palette entry in RGB format.
Returns: (boolean) TRUE if is a palettized image - FALSE if is a true color image.

The palette array must be defined without dimensions, with the statment : Dim|Private|Public palette() As Long

See also Color & Palettes , GetPalColor , SetPalColor , SetPalette